#!/bin/sh
#httpd define path variable
H_URL=http://mirror.bit.edu.cn/apache/httpd/httpd-2.4.37.tar.bz2
H_FILE=`echo $H_URL|awk -F / '{print $NF}'`
H_FILE_DIR=`echo $H_FILE|sed -E 's/\.[tar.bzg2ip]{1,}//g'`
H_PREFIX=/usr/local/$H_FILE_DIR/
echo $H_FILE
echo $H_FILE_DIR
echo $H_PREFIX
